package com.yumeng.common.data.constants;

/**
 * @author wxd
 * @date 2022/9/1 19:23
 */
public class DateConstants {



    public static String YYYY = "yyyy";
    public static String YYYY_MM = "yyyy-MM";
    public static String YYYY_MM2 = "yyyy/MM";
    public static String YYYY_MM_DD = "yyyy-MM-dd";
    public static String YYYY_MM_DD2 = "yyyy/MM/dd";
    public static String YYYYMMDDHHMMSS = "yyyyMMddHHmmss";
    public static String YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss";
    public static String YYYY_MM_DD_HH_MM_SS_SSS = "yyyy-MM-dd HH:mm:ss:S";

    public static String HH_MM_SS = "HH:mm:ss";

    public static String[] parseDatePatterns = {"yyyy-MM-dd", "yyyy/MM/dd", "yyyy.MM.dd"};

    public static String[] parseDateTimePatterns = {"yyyy-MM-dd HH:mm:ss", "yyyy/MM/dd HH:mm:ss", "yyyy.MM.dd HH:mm:ss"};

    public static String[] parseDefaultPatterns = {"yyyy-MM-dd", "yyyy-MM-dd HH:mm:ss"};

    //YYYY_MM_DD格式日期字符串长度
    public static Integer YYYY_MM_DD_LEN = 10;
    //YYYY_MM_DD_HH_MM_SS格式日期字符串长度
    public static Integer YYYY_MM_DD_HH_MM_SS_LEN = 19;

}
